package com.lt.test.provider.dao;

import java.util.List;
import java.util.Map;

public interface KtShopRequireOrderDao{
	 List query(Map parameter);  
	 int create(Map parameter); 
     int update(Map parameter);   
     int save(Map parameter); 
     int delete(String id);
     Map findById(String id);
     int batch(List values);
     int batchUpdate(List values);
     int batchDelete(List values);

     Map<String,Object> getPurchaseOrderListSize(String type, String id, String createUser, String shopId, String remark, String approveFlag, String beginDate, String endDate, String state);
  	List<Map<String,Object>> getPurchaseOrderListByPage(String type, String id, String createUser, String shopId, String remark, String approveFlag, String beginDate, String endDate, Long beginNum, Long endNum, String state);
  	
  	Map<String,Object> getRecord(String id);
}
